home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
update24.arc
/
UPDATE.BAT
< prev
Wrap
DOS Batch File
|
1986-05-09
|
542b
|
31 lines
echo off
cls
if exist zq*.* del zq*.*
if not exist up.exe goto u
if t==%1 goto t
if T==%1 goto t
if n==%1 goto n
if N==%1 goto n
if not %1x==x goto p
up
if not exist paths.cnf goto e
zq>nul
:t
copy update.bat zqz.bat>nul
up
zqw
:n
if not exist sort.exe goto s
copy update.bat zqq.bat>nul
up
zqx>nul
:p
echo Bad parameter (neither UPDATE N nor UPDATE T). Now crashing ...
goto e
:s
echo No SORT.EXE exists in current directory. Now crashing ...
goto e
:u
echo File UP.EXE missing! UpDate crashing ...
:e